package kr.co.itwise.se.ooad.banking;

/*java tset#############*/
public class AccountInfo {
	private String accountnumber;
	private String accountholder;
	private int balance;

	public AccountInfo() {
	}

	public AccountInfo(String accountnumber, String accountholder, int balance) {
		this.accountnumber = accountnumber;
		this.accountholder = accountholder;



		this.balance = balance;
	}
	

	public String getAccountnumber() {
		return accountnumber;
	}

	public void setAccountnumber(String accountnumber) {
		this.accountnumber = accountnumber;
	}

	public String getAccountholder() {
		return accountholder;
	}

	public void setAccountholder(String accountholder) {
		this.accountholder = accountholder;
	}

	public int getBalance() {
		return balance;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public String toString() {
		return "Account [accountnumber=" + accountnumber + ", accountholder=" + accountholder
				+ ", balance=" + balance +  "]";
	}
	
}